.class public Lcom/estrongs/android/ui/dialog/p0;
.super Lcom/estrongs/android/ui/dialog/q;
.source "PopDialog_View.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/dialog/p0$c;,
        Lcom/estrongs/android/ui/dialog/p0$d;
    }
.end annotation


# instance fields
.field private a:Lcom/estrongs/android/ui/adapter/c;

.field protected b:Lcom/estrongs/android/ui/adapter/b;

.field protected c:Lcom/estrongs/android/ui/dialog/p0$d;

.field protected d:Lcom/estrongs/android/ui/dialog/p0$c;

.field protected e:Landroid/view/View;

.field protected f:Landroid/view/View;

.field protected g:Landroid/view/View;

.field protected h:Landroid/view/View;

.field protected i:Landroid/view/View;

.field protected j:Landroid/view/View;

.field protected k:Landroid/view/View;

.field l:Landroid/widget/ScrollView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    const p1, 0x7f11007c

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/ui/dialog/p0;->a()V

    return-void
.end method

.method private b(Landroid/view/View;I)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->b:Lcom/estrongs/android/ui/adapter/b;

    const/4 v1, 0x0

    invoke-virtual {v0, p2, p1, v1}, Lcom/estrongs/android/ui/adapter/b;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/p0$b;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/ui/dialog/p0$b;-><init>(Lcom/estrongs/android/ui/dialog/p0;I)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private c(Landroid/view/View;I)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->a:Lcom/estrongs/android/ui/adapter/c;

    const/4 v1, 0x0

    invoke-virtual {v0, p2, p1, v1}, Lcom/estrongs/android/ui/adapter/c;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/p0$a;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/ui/dialog/p0$a;-><init>(Lcom/estrongs/android/ui/dialog/p0;I)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private d(Landroid/view/View;I)V
    .locals 2

    const v0, 0x7f0904ba

    .line 1
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    mul-int/lit8 p2, p2, 0x3

    invoke-direct {p0, v0, p2}, Lcom/estrongs/android/ui/dialog/p0;->c(Landroid/view/View;I)V

    const v0, 0x7f0904bb

    .line 2
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    add-int/lit8 v1, p2, 0x1

    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/p0;->c(Landroid/view/View;I)V

    const v0, 0x7f0904bc

    .line 3
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    add-int/lit8 p2, p2, 0x2

    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/dialog/p0;->c(Landroid/view/View;I)V

    return-void
.end method


# virtual methods
.method protected a()V
    .locals 6

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c00de

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ScrollView;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->l:Landroid/widget/ScrollView;

    const v1, 0x7f090d74

    .line 2
    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->e:Landroid/view/View;

    const v1, 0x7f0909cb

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->f:Landroid/view/View;

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->e:Landroid/view/View;

    const v2, 0x7f0909cc

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->g:Landroid/view/View;

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->e:Landroid/view/View;

    const v3, 0x7f0909cd

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->h:Landroid/view/View;

    .line 6
    new-instance v0, Lcom/estrongs/android/ui/adapter/c;

    iget-object v3, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-direct {v0, v3}, Lcom/estrongs/android/ui/adapter/c;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->a:Lcom/estrongs/android/ui/adapter/c;

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->f:Landroid/view/View;

    const/4 v3, 0x0

    invoke-direct {p0, v0, v3}, Lcom/estrongs/android/ui/dialog/p0;->d(Landroid/view/View;I)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->g:Landroid/view/View;

    const/4 v4, 0x1

    invoke-direct {p0, v0, v4}, Lcom/estrongs/android/ui/dialog/p0;->d(Landroid/view/View;I)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->h:Landroid/view/View;

    const/4 v5, 0x2

    invoke-direct {p0, v0, v5}, Lcom/estrongs/android/ui/dialog/p0;->d(Landroid/view/View;I)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->l:Landroid/widget/ScrollView;

    const v5, 0x7f090aec

    invoke-virtual {v0, v5}, Landroid/widget/ScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    .line 11
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->j:Landroid/view/View;

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->k:Landroid/view/View;

    .line 13
    new-instance v0, Lcom/estrongs/android/ui/adapter/b;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/adapter/b;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->b:Lcom/estrongs/android/ui/adapter/b;

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->j:Landroid/view/View;

    invoke-virtual {p0, v0, v3}, Lcom/estrongs/android/ui/dialog/p0;->a(Landroid/view/View;I)V

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->k:Landroid/view/View;

    invoke-virtual {p0, v0, v4}, Lcom/estrongs/android/ui/dialog/p0;->a(Landroid/view/View;I)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->l:Landroid/widget/ScrollView;

    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->l:Landroid/widget/ScrollView;

    invoke-virtual {v0, v3}, Landroid/widget/ScrollView;->setScrollbarFadingEnabled(Z)V

    .line 18
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->H1()Z

    move-result v0

    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->I1()Z

    move-result v1

    or-int/2addr v0, v1

    if-nez v0, :cond_0

    .line 19
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->l:Landroid/widget/ScrollView;

    const v2, 0x7f090aed

    invoke-virtual {v0, v2}, Landroid/widget/ScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method protected a(I)V
    .locals 5

    const v0, 0x7f0904bd

    const v1, 0x7f0904bc

    const v2, 0x7f0904bb

    const v3, 0x7f0904ba

    const/4 v4, 0x1

    if-eqz p1, :cond_3

    if-eq p1, v4, :cond_2

    const/4 v2, 0x2

    if-eq p1, v2, :cond_1

    const/4 v1, 0x3

    if-eq p1, v1, :cond_0

    return-void

    :cond_0
    const v1, 0x7f0904bd

    const v2, 0x7f0904bd

    goto :goto_0

    :cond_1
    const v0, 0x7f0904bc

    const v2, 0x7f0904bc

    goto :goto_0

    :cond_2
    const v0, 0x7f0904bb

    const v1, 0x7f0904bb

    goto :goto_0

    :cond_3
    const v0, 0x7f0904ba

    const v1, 0x7f0904ba

    const v2, 0x7f0904ba

    .line 27
    :goto_0
    :try_start_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/p0;->j:Landroid/view/View;

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .line 28
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/p0;->k:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    .line 29
    invoke-virtual {p1, v1}, Landroid/view/View;->setEnabled(Z)V

    .line 30
    invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V

    .line 31
    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const v2, -0x777778

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    const v1, 0x7f09051a

    .line 32
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/esclasses/ESImageView;

    .line 33
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/esclasses/ESImageView;

    .line 34
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v1, v3, :cond_4

    .line 35
    invoke-virtual {p1, v4}, Lcom/estrongs/android/pop/esclasses/ESImageView;->setTranslucent(Z)V

    .line 36
    invoke-virtual {v0, v4}, Lcom/estrongs/android/pop/esclasses/ESImageView;->setTranslucent(Z)V

    goto :goto_1

    .line 37
    :cond_4
    new-instance v1, Landroid/graphics/LightingColorFilter;

    invoke-direct {v1, v4, v2}, Landroid/graphics/LightingColorFilter;-><init>(II)V

    .line 38
    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setColorFilter(Landroid/graphics/ColorFilter;)V

    .line 39
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setColorFilter(Landroid/graphics/ColorFilter;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    .line 40
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_1
    return-void
.end method

.method protected a(Landroid/view/View;I)V
    .locals 2

    const v0, 0x7f0904ba

    .line 23
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    mul-int/lit8 p2, p2, 0x4

    invoke-direct {p0, v0, p2}, Lcom/estrongs/android/ui/dialog/p0;->b(Landroid/view/View;I)V

    const v0, 0x7f0904bb

    .line 24
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    add-int/lit8 v1, p2, 0x1

    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/p0;->b(Landroid/view/View;I)V

    const v0, 0x7f0904bc

    .line 25
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    add-int/lit8 v1, p2, 0x2

    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/p0;->b(Landroid/view/View;I)V

    const v0, 0x7f0904bd

    .line 26
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    add-int/lit8 p2, p2, 0x3

    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/dialog/p0;->b(Landroid/view/View;I)V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/dialog/p0$c;)V
    .locals 0

    .line 22
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/p0;->d:Lcom/estrongs/android/ui/dialog/p0$c;

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/dialog/p0$d;)V
    .locals 0

    .line 21
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/p0;->c:Lcom/estrongs/android/ui/dialog/p0$d;

    return-void
.end method
